package com.gome.axwl.aoc.entity.driver;

import java.io.Serializable;

/**
 * @Description: 从主数据查询返回的对象
 * @Auther: yinyuxin@gome.com.cn
 * @Date: 2018/5/17 14:31
 */
public class DriverWithCarrierDto implements Serializable {
    private static final long serialVersionUID = -7086859818154773175L;

    /**
     * 司机id
     */
    private Integer driverId;

    /**
     * 司机编码
     */
    private String driverNo;

    /**
     * 司机名字
     */
    private String driverName;

    /**
     * 联系方式（账号）
     */
    private String contact;

    /**
     * 状态
     */
    private String status;

/**************************************优先从carrier对象中获取服务商数数据***********************************/
    /**
     * 服务商id
     */
    private Integer carrierId;

    /**
     * 服务商名字
     */
    private String carrierName;

    /**************************************优先从carrier对象中获取服务商数数据***********************************/

    /**
     * 所属服务商
     */
    private CarrierFromMasterDto carrier;


    public Integer getDriverId() {
        return driverId;
    }

    public void setDriverId(Integer driverId) {
        this.driverId = driverId;
    }

    public String getDriverNo() {
        return driverNo;
    }

    public void setDriverNo(String driverNo) {
        this.driverNo = driverNo;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public CarrierFromMasterDto getCarrier() {
        return carrier;
    }

    public void setCarrier(CarrierFromMasterDto carrier) {
        this.carrier = carrier;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public Integer getCarrierId() {
        return carrierId;
    }

    public void setCarrierId(Integer carrierId) {
        this.carrierId = carrierId;
    }

    public String getCarrierName() {
        return carrierName;
    }

    public void setCarrierName(String carrierName) {
        this.carrierName = carrierName;
    }


}
